Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.43.0
->^2.44.0
^1.12.1
->^1.12.6
^1.2.0
->^1.2.1
^1.6.0
->^1.6.1
^1.4.8
->^1.4.10
^1.2.10
->^1.2.11
^10.5.32
->^10.5.36
^5.25.0
->^5.26.1
Release Notes
ergebnis/composer-normalize (ergebnis/composer-normalize)
v2.44.0
Compare Source
For a full diff see [
2.43.0...2.44.0
][2.43.0...2.44.0].Changed
schema.json
([#1363]), by [@ergebnis-bot]phpstan/phpstan (phpstan/phpstan)
v1.12.6
Compare Source
Bleeding edge 🔪
@phpstan-assert
PHPDoc tags (phpstan/phpstan-src@ca0a7e9), #11780If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's
phpstan.neon
:Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more
Improvements 🔧
ClassConstFetch::$class
when it's a Name node (phpstan/phpstan-src@712c33e)ClassConstFetch::$name
(phpstan/phpstan-src@b38c852)Bugfixes 🐛
lowercase-string
IntegerRangeType::toString()
(#3475), thanks @staabm!Function signature fixes 🤖
spl_autoload_functions
on PHP8.0+ (#2810), thanks @ManuelHu!Internals 🔍
Scope::getMaybeDefinedVariables()
(#3521), #11772, thanks @ruudk!Type::sliceArray()
(#3514) (#3514), thanks @herndlm!v1.12.5
Compare Source
Improvements 🔧
ParametersAcceptorSelector::selectSingle()
(phpstan/phpstan-src@23c53a2)lowercase-string
(#3438), thanks @VincentLanglet!toInteger()
(#3434), thanks @staabm!MixedType::toString()
with subtracted type (#3420), thanks @staabm!MixedType::toBoolean()
with subtracted type (#3471), thanks @staabm!isset($arr[$k])
should narrow$k
(#3453), #11716, #8559, thanks @staabm!isset()
narrows string-key in int-keyed-array to numeric-string (#3472), thanks @staabm!Bugfixes 🐛
sprintf()
inference for constant values with format-width in pattern (#3474), thanks @staabm!filter_var()
(#2656), thanks @mvorisek!Function signature fixes 🤖
iptcparse
return type (#3483), thanks @ManuelHu!Internals 🔍
selectSingle()
when analysing function body in rules (phpstan/phpstan-src@41916ba)selectSingle()
in MutatingScope (phpstan/phpstan-src@865c618)ParametersAcceptorSelector::selectFromArgs()
instead ofselectSingle()
wherever possible (phpstan/phpstan-src@e283d3a)selectSingle()
in ParametersAcceptorSelector (phpstan/phpstan-src@1322aaf)@internal
getOnlyVariant()
method on FunctionReflection/ExtendedMethodReflection to use instead ofselectSingle()
(phpstan/phpstan-src@714877b)Type::chunkArray()
(#3408), thanks @herndlm!v1.12.4
Compare Source
Improvements 🔧
argument.named
are ignorable now (phpstan/phpstan-src@193b4f5)composerAutoloaderProjectPaths
on Windows (#3451), thanks @staabm!treatPhpDocTypesAsCertain
tip (#3452), #11689, thanks @ruudk!Bugfixes 🐛
array_map()
return value (#3425), #10715, #11056, #10685, thanks @rvanvelzen!range()
on PHP 7.x (#3424), thanks @staabm!range()
with float step should return an array of floats (#3447), #11692, thanks @staabm!*strlen()
with positive-int (#3407), #11558, thanks @staabm!Function signature fixes 🤖
Internals 🔍
paratest
(#3440), thanks @schlndh!Output::isDecorated
andOutput::isVeryVerbose
(#3436), thanks @ruudk!v1.12.3
Compare Source
Improvements 🔧
Bugfixes 🐛
ArrayFilterFunctionReturnTypeReturnTypeExtension
and support first-class callable (#3329), #11337, thanks @takaram!list<T>
toarray{T}
(#3412), #11642, thanks @staabm!Function signature fixes 🤖
curl_init()
false returns (#3409), #11640, thanks @tscni!Internals 🔍
COMPOSER_ROOT_VERSION
hack should no longer be necessary (#3414)v1.12.2
Compare Source
Improvements 🔧
Bugfixes 🐛
@mixin
class reflection extensions after all other class reflection extensions (phpstan/phpstan-src@c889baa), #11624, #11342, #10159, https://github.com/larastan/larastan/issues/2032count()
withpositive-int
(#3389), thanks @staabm!Type::reverseArray()
(#3344), thanks @herndlm!Function signature fixes 🤖
version_compare()
operator arg can be null (#3399), #4457, thanks @staabm!Internals 🔍
phpstan/phpstan-deprecation-rules (phpstan/phpstan-deprecation-rules)
v1.2.1
Compare Source
phpstan/phpstan-strict-rules (phpstan/phpstan-strict-rules)
v1.6.1
Compare Source
phpstan/phpstan-symfony (phpstan/phpstan-symfony)
v1.4.10
Compare Source
v1.4.9
Compare Source
phpstan/phpstan-webmozart-assert (phpstan/phpstan-webmozart-assert)
v1.2.11
Compare Source
sebastianbergmann/phpunit (phpunit/phpunit)
v10.5.36
: PHPUnit 10.5.36Compare Source
Changed
StringMatchesFormatDescription
constraint to be consistent with PHP'srun-tests.php
Fixed
PHPUnit\Framework\Exception
does not handle string error codes (PDOException
with error code'HY000'
, for example)How to install or update PHPUnit
v10.5.35
Compare Source
v10.5.34
: PHPUnit 10.5.34Compare Source
Fixed
name
property on<testsuites>
element in JUnit XML logfileCallback
throws aTypeError
when checking acallable
has variadic parametersHow to install or update PHPUnit
v10.5.33
: PHPUnit 10.5.33Compare Source
Fixed
assertJsonStringEqualsJsonString()
considers objects with sequential numeric keys equal to be arraysCallback
constraint does not handle variadic arguments correctly when used for mock object expectations$
at the beginning gets truncated when used with a data providerHow to install or update PHPUnit
vimeo/psalm (vimeo/psalm)
v5.26.1
Compare Source
What's Changed
Fixes
Full Changelog: vimeo/psalm@5.26.0...5.26.1
v5.26.0
Compare Source
What's Changed
Features
psalm.dist.xml
as well by @HypeMC in https://github.com/vimeo/psalm/pull/11031Fixes
ReflectionParameter::getName()
result type tonon-empty-string
by @vjik in https://github.com/vimeo/psalm/pull/11037New Contributors
Full Changelog: vimeo/psalm@5.25.0...5.26.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
Renovate Bot